#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(int argc, char **argv)
{
	if(argc < 3)
	{
		fprintf(stderr,"usage:%s sadfas\n", *argv);
		return -1;
	}
	printf("%d %d\n",atoi(argv[1]), atoi(argv[2]));
	char ch = getchar();
	char str1[20] = {0};
	fgets(str1, sizeof(str1),stdin);
	printf("%c %s %d\n", ch, str1, strlen(str1));
	char *p = strtok(str1,"-");
	while(p)
	{
		printf("%s\n", p);
		p = strtok(NULL, "-");
	}
	return 0;
}
